package com.barneyx.mshinfoplatform.service.admin.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.barneyx.mshinfoplatform.entity.admin.AdminRolePermissionMapEntity;
import com.barneyx.mshinfoplatform.mapper.admin.IAdminRolePermissionMapEntityMapper;
import com.barneyx.mshinfoplatform.service.admin.IAdminRolePermissionMapEntityService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class AdminRolePermissionMapEntityServiceImpl extends ServiceImpl<IAdminRolePermissionMapEntityMapper, AdminRolePermissionMapEntity> implements IAdminRolePermissionMapEntityService {
    @Resource
    private IAdminRolePermissionMapEntityMapper adminRolePermissionMapEntityMapper;

    @Override
    public long deleteRolePermissionMapByRoleId(String roleid) {
        return adminRolePermissionMapEntityMapper.deleteRolePermissionMapByRoleId(roleid);
    }
}
